﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace ArchiveLinkService
{
    using System.IO;
    using ArchiveLink;

    [ServiceContract(CallbackContract = typeof(ILinkerCallback))]
    public interface ILinker
    {
        [OperationContract]
        void Connect();
        [OperationContract]
        void AddDrive(string drive);
        [OperationContract]
        void Configure(Configuration config);
        [OperationContract]
        Configuration GetConfig();
    }  
    
    public interface ILinkerCallback
    {
        [OperationContract]
        bool DriveChanged(string name, string driveLetter, bool isMirrored);
    }
}
